home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / shadobox.arc / TCREADME.DOC < prev    next >
Text File  |  1988-11-19  |  4KB  |  95 lines

  1.                                  SHADOW BOXES
  2.                       the Donohue&Co. Windowing package
  3.                            Installation into TurboC
  4.                                ver 0.0 11/19/87
  5.  
  6. Copyright (c) 1987 John G. Donohue
  7.                    Donohue&Co. Computer Services
  8.                    PO Box 255
  9.                    Hannibal, NY  13074
  10.                    (315) 564-6213
  11.  
  12.               --------------------- o  o  o ---------------------
  13.  
  14. How to use "SHADOW BOXES", the Donohue&Co. Windowing package, with Turbo C
  15.  
  16.   (1) set up your TurboC according to instructions in the TurboC manuals.  
  17.       Normally, they are as follows:
  18.         C:\TURBOC
  19.         C:\TURBOC\INCLUDE
  20.         C:\TURBOC\LIB
  21.   (2) Make a new directory:
  22.         C:\TURBOC\SHADOBOX
  23.   (3) Copy (or un-arc, if you have SHADOBOX.ARC) the files into that new
  24.       directory.
  25.       Try the WDEMO command, just to see what the demo looks like.
  26.       It is strictly a color demo.
  27.       The WATCHME demo is a continuous-running demo Donohue&Co. uses at
  28.       trade shows.  It cannot be stopped except by rebooting.
  29.       MENUDEMO is a brief demonstration of how you can construct Lotus-style,
  30.       bar, pull-down, or shadowed menus, if you send for the Menu package.
  31.   (4) Move TCCWDEMO.BAT into \TURBOC.
  32.   (5) If you're not using Drive C:, then:
  33.       (a) Edit TCCWDEMO.BAT to refer to the drive you used, not C:.
  34.       (b) When you first invoke TCCWDEMO, go to the Project and Options menus,
  35.           and change all references to drive C: to whatever drive you are
  36.           using.  Then S)ave the new WDEMO.TC from the Options/Environment menu.
  37.  
  38.  
  39.     Directory of  \TURBOC
  40.         TCCWDEMO BAT    Batch file to compile WDEMO.C
  41.  
  42.     Directory of  \TURBOC\SHADOBOX
  43.         TCREADME DOC    This file
  44.         SHADOBOX DOC    About 14 pages of documentation of functions, etc.
  45.         WDEMO    EXE    Windowing demo for which source is given
  46.         MENUDEMO EXE    Minimal menu demo
  47.         WATCHME  EXE    Continuous Donohue&Co. trade show demo using windows
  48.         WDEMO    TC     Turbo-C configuration file
  49.         WDEMO    PRJ    Turbo-C "Project-make" file
  50.         WDEMO    C      Source code of demo
  51.                         Modify and recompile this file to test the package.
  52.         DEFINES  H      Standard defines
  53.         WDEF     H      Window macro defines (colors, borders, etc.),
  54.                         and structures definitions
  55.         WERR     H      Error code names
  56.         WINDOW   OBJ    The four
  57.         WERR     OBJ     object files (TC suffix means TurboC version)
  58.         CATOSCTC OBJ      linked into your application
  59.         WHWTC    OBJ       by WDEMO.PRJ
  60.  
  61. You may want to begin by listing the following files (in order of helpfulness):
  62.  
  63.         TCREADME DOC    (This file)
  64.         WDEMO    C
  65.         WDEF     H
  66.         SHADOBOX DOC
  67.         WDEMO    PRJ
  68.         DEFINES  H
  69.         WERR     H
  70.  
  71. The Project file WDEMO.PRJ looks like this:
  72.  
  73.         shadobox\wdemo (shadobox\defines.h shadobox\wdef.h)
  74.         shadobox\window.obj
  75.         shadobox\werr.obj
  76.         shadobox\catosctc.obj
  77.         shadobox\whwtc.obj
  78.  
  79. The batch file TCCWDEMO.BAT should be in \TURBOC, and compiles WDEMO.C:
  80.  
  81.         c:
  82.         cd \turboc
  83.         tc /cshadobox\wdemo.tc shadobox\wdemo.c
  84.  
  85. To compile, make \TURBOC your current directory, and invoke the compiler:
  86.           c:            (or whatever drive you're using)
  87.           cd \turboc
  88.           tccwdemo
  89. (Note that the configuration file WDEMO.TC sets up paths, etc.)
  90. Then hit Alt-C to compile, or Alt-R to compile and Run.
  91.  
  92. As the demo runs, look at the listing of WDEMO.C, making reference to
  93. DEFINES.H and WDEF.H, to see how certain borders, shadows, etc., were
  94. achieved.
  95.